package com.jrx.anytxn.customer.dto.creditinfo;

import com.jrx.anytxn.customer.dto.BaseApiReq;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 额度激活的请求报文对应对象
 * @author lbz
 */
public class CreditActiveReq extends BaseApiReq implements Serializable {

    private static final long serialVersionUID = 1841424353090383930L;

    /**
     * 授信信息列表
     */
    @NotNull(message = "额度激活列表creditInfoList不能为空")
    @Valid
    private List<CreditInfo> creditInfoList;


    public List<CreditInfo> getCreditInfoList() {
        return creditInfoList;
    }

    public void setCreditInfoList(List<CreditInfo> creditInfoList) {
        this.creditInfoList = creditInfoList;
    }
}
